package com.chinasofti.mydate;

import java.util.Date;

public class Demo02 {
    public static void main(String[] args) {



    }
    public static void method2(){
        Date date = new Date();
        date.setTime(0L);
        System.out.println(date);
    }
    public static void method1(){
        Date date = new Date();
        System.out.println(date);
        System.out.println(date.getTime());
        System.out.println(System.currentTimeMillis());
    }
}
